package com.ice.remoting.netty;

import com.ice.remoting.data.RemotingCommand;
import io.netty.channel.Channel;

public interface RPCHook {

    void doBeforeRequest(Channel channel, final String remoteAddr, final RemotingCommand request);

    void doAfterResponse(Channel channel, final String remoteAddr, final RemotingCommand request,
                         final RemotingCommand response);
}
